import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity("apartment_furniture", { schema: "cbox" })
export class ApartmentFurniture {
  @PrimaryGeneratedColumn({ type: "int", name: "id", unsigned: true })
  id: number;

  @Column("varchar", { name: "name", length: 16 })
  name: string;

  @Column("varchar", { name: "img", nullable: true, length: 255 })
  img: string | null;
}
